package com.qingcheng.service;

import com.qingcheng.util.YouthR;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @ClassName GoodsServiceFeign
 * @Description
 * @Author Simon
 * @Date 2020/9/4 22:12
 * @Version 1.0
 **/
@FeignClient(value = "service-goods")
@Component
public interface GoodsServiceFeign {

    @ApiOperation("广告提交之后修改广告的状态")
    @PostMapping("/goods/spu/adUpdate/{id}")
    public YouthR adUpdate(@PathVariable String id);

}
